package com.xzl.authserver.service;

import com.xzl.authserver.domain.User;

import java.io.IOException;
import java.util.Map;

public interface AuthService {
    User register(User userToAdd);
    Map login(String username, String password) throws IOException;
    String refresh(String oldToken);
}
